package com.cskaoyan.service;

import com.cskaoyan.dao.UserDao;

/**
 * @author stone
 * @date 2021/12/25 09:42
 */
public class UserServiceImpl implements UserService{

    UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void sayHello(String name) {
        userDao.daoSayHello();
        System.out.println("hello " + name);
    }
}
